import Vue from "vue";
import App from "./App";
import router from "./router";
// 导入axios库   
import axios from "axios";
// 在Vue原型上绑定axios对象   
Vue.prototype.$axios = axios;
Vue.config.productionTip = false;

new Vue({
  el: "#app",
  router,
  components: {
    App
  },
  template: "<App/>",
});